<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="utf-8"></meta>
  <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta>
  <title>文档借阅管理</title>
</head>
<body class="hold-transition skin-blue sidebar-mini" style="background:#f5f6f8;">
    <!--标题-->
    <section class="content-header">
      <h1>
        管理系统
        <small>文档借阅管理</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="javascript:;"><i class="fa fa-home"></i>首页</a></li>
        <li><a href="javascript:;">项目文档管理</a></li>
        <li class="active">文档借阅管理</li>
      </ol>
    </section>

    <!--内容-->
    <section class="content">
      <div class="box box-default">
        <div class="box-header with-border">
          <div class="row">
            <div class="col-md-12">

              <div class="form-inline">
                  <div class="form-group">
                      <label>所属规划：</label>
                      <select id="planProjClass" name="planProjClass" class="form-control select2">

                      </select>
                  </div>
                <div class="form-group">
                  <label>建设单位：</label>
                  <select id="orgId" name="orgId" class="form-control select2">

                  </select>
                </div>
                  <div class="form-group">
                      <label>实施项目：</label>
                      <select  id="belongPlan" name="belongPlan" class="form-control select2"></select>
                      <!--<div class="input-group">-->
                          <!--<input type="text" class="form-control" disabled="disabled" id="projuectOut"/>-->
                          <!--<input type="text" class="hidden" id="belongPlan">-->
                          <!--<span class="input-group-btn">-->
                                <!--<button class="btn btn-default" type="button"  id="projectBtn" ><i class="fa fa-search"></i></button>-->
                                 <!--</span>-->
                      <!--</div>-->
                  </div>
                  <!--
                  <div class="form-group">
                      <label>项目阶段：</label>
                      <select id="projectStage" name="projectStage" class="form-control select2">

                      </select>
                  </div>
                <div class="form-group">
                  <label>文件类型：</label>
                  <select id="fileType" name="fileType" class="form-control select2">

                  </select>
                </div>-->
                <!--<button id="vFilesBtn" class="btn btn-info"><i class="fa fa-search"></i> 查询</button>-->
                <button id="btn_borrow" type="button" class="btn btn-info">
                  <i class="fa fa-plus"></i> 借阅
                </button>
                <button id="btn_return" type="button" class="btn btn-info">
                  <i class="fa fa-trash"></i> 归还
                </button>
              </div>

            </div>
          </div>
        </div>
        <div class="box-body">
            <table id="fileInfoList"></table>
        </div>
      </div>
    </section>
  <div class="control-sidebar-bg"></div>

<!--文档信息增加修改-->
<div class="modal fade  bs-example-modal-lg" id="addEditModal" >
  <div class="modal-dialog modal-lg" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">借阅信息</h4>
      </div>
      <div class="modal-body">
        <form id="folderBorrowForm">
            <input type="text" class="hidden" id="docId" name="docId"/>
            <div class="row noMargin">
                <!--
                <div class="col-sm-6">
                  <div class="form-group">
                    <label for="fileName">文档名称：</label>
                    <input type="text" class="form-control" disabled="disabled"  id="fileName" name="fileName"/>
                  </div>
                </div>-->
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label for="borrowDt">借阅时间：</label>
                      <div class="input-group date">
                        <div class="input-group-addon">
                          <i class="fa fa-calendar"></i>
                        </div>
                        <input type="text" class="form-control pull-right datetimepicker" id="borrowDt" name="borrowDt" />
                      </div>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label for="borrower">借阅人：</label>
                      <div class="input-group">
                        <input type="text" class="form-control" disabled="disabled" id="borrower" name="borrower"/>
                        <input type="text" class="hidden" id="borrowerId" name="borrowerId">
                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" id="userBtn">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                      </div>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <label for="outBorrower">经手人：</label>
                      <div class="input-group">
                        <input type="text" class="hidden" id="outBorrowerId" name="outBorrowerId">
                        <input type="text" class="form-control" disabled="disabled" id="outBorrower" name="outBorrower"/>
                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" id="userBtn1">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                      </div>
                    </div>
                  </div>

                  <div class="col-sm-12">
                    <div class="form-group">
                      <label>备注：</label>
                      <textarea class="form-control" rows="3" placeholder="请输入备注" id="description"></textarea>
                    </div>
                  </div>
            </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary" id="ensureBtn">保存</button>
      </div>
    </div>
  </div>
</div>
<!--
<div class="modal fade  bs-example-modal-lg" id="returnModal" >
        <div class="modal-dialog modal-lg" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">归还信息</h4>
                </div>
                <div class="modal-body">
                        <div class="row noMargin">
                            <div class="col-sm-6">
                                <div class="form-group">
                                    <label for="outBorrower">经手人：</label>
                                    <div class="input-group">
                                        <input type="text" class="hidden" id="returnBorrowerId" name="returnBorrowerId">
                                        <input type="text" class="form-control" disabled="disabled" id="returnBorrower" name="returnBorrower"/>
                                        <span class="input-group-btn">
                          <button class="btn btn-default" type="button" id="userBtn2">
                            <i class="fa fa-search"></i>
                          </button>
                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary" id="ensureBtn">保存</button>
                </div>
            </div>
        </div>
    </div>-->

    <div class="modal fade bs-example-modal-lg" id="projectSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="unitSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="itemSearchModal" ></div>
    <div class="modal fade bs-example-modal-lg" id="userSearchModal" ></div>

    <script th:src="@{/js/pub-lib/plugins/easyui/jquery.easyui.min.mylocal.js}"></script>
    <script th:src="@{/js/pub-lib/jquery-ui-datepicker.min.js}"></script>
    <script th:src="@{/js/pub-lib/jquery-ui-datepicker.zh-CN.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/select2/select2.full.min.js}"></script>
    <script th:src="@{/js/our-lib/commpent/projectsearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/unitcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/unitsearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/usersearchcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/unittypetoselcommpent.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/commpent/project2unit2itemcommpent.js}"></script>


    <script th:src="@{/js/our-lib/commpent/constantcommpent.js}"></script>
    <script th:src="@{/js/pub-lib/plugins/bootstrap-validator/bootstrapValidator.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/our-lib/folderManage/folderBorrowManage.js}"></script>
</body>
</html>
